//
//  RoomStatesObject.h
//  IReceive
//
//  Created by Soyu on 12-5-10.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

/*
 *   CurPage:当前页 //如果返回为0表示有错误，不予处理
 *   PageCount:总页数
 *   DataCount:记录数
 *   NullCount:空房数
 *   LeadCount:帯位房数
 *   ReserverCount:预订房数
 *   InCount:已开房数
 *   SettleCount:结账房数
 *   RetainCount:未走房数
 *   MergerCount:并台房数
 *   BadCount:维修房数
 *   QNullCount:经理查询的空房数量（包括帯位空房和维修房，也就是未预订和消费中的房RoomState=Null的房）
 *   QReserverCount:经理查询中的预订房（含帯位房,RoomState=R）
 *   QInCount:经理查询的已开房数(RoomState=I)
 *   QSettleCount:经理查询中的结账房(RoomState=S Or RoomState=L Or RoomState=O)
 *   (
 *   RoomNo：String;//房台号
 *   RoomState：String;//房态状态
 *   RoomFlag：Integer;//房态状态标志
 *   Room_IfBad:Integer;//是否维修 0:不是 1：是维修房
 *   ReserveClerk：String;//订房经理
 *   GongGuanLeaderName：String;//带房人
 *   GuestName：String;//客人姓名
 *   GuestCount：Integer;//客人数
 *   VipFlag:Integer;//Vip标志0：非VIP 1：VIP
 *   GongGuanCount：Integer;//公关模特人数
 *   ReserveDateTime：String;//订房时间
 *   ArriveDateTime：String;//预抵时间
 *   CheckInDateTime：String;//开台时间
 *   LowLimitMoney：Integer;//最低消费
 *   FoodMoney：Integer;//消费额
 *   OverLowLimitMoney：Integer;//超过最低消费
 *   MasterID:String;//主单ID，只有RoomState=R Or RoomState=I Or RoomState=S Or RoomState=O时才有实际意义，其他该值为空
 *   CheckOutDateTime:String;//离台的时间
 *   FreeMoney:String; //赠送金额
 *   DisRate://折扣率
 *   DisMoney://折扣金额
 *   RoomMoney://房费(保留给量贩用)
 *   DinnerMoney;//餐费（保留给量贩用）
 *   保留1
 *   保留2
 *   保留3
 *   保留4
 *   保留5
 */
#undef	RGB
#define RGB(R,G,B)		[UIColor colorWithRed:R/255.0f green:G/255.0f blue:B/255.0f alpha:1.0f]
typedef NS_OPTIONS (NSInteger, Room_State) {
    RoomStateNone     = 0,
    RoomStateLead     = 1,
    RoomStateReserver = 2,
    RoomStateIn       = 3,
    RoomStateSettle   = 4,
    RoomStateRetain   = 5,
    RoomStateMerger   = 6,
    RoomStateBad      = 7,
};

#import <Foundation/Foundation.h>

@interface RoomStatesObject : NSObject

@property (nonatomic, assign) NSInteger         MyRoomState, NullCount, LeadCount, ReserverCount, InCount, SettleCount, RetainCount, MergerCount, BadCount, QNullCount, QReserverCount, QInCount, QSettleCount;
@property (strong, nonatomic) NSMutableArray    *RoomStates;
@end

@interface RoomState : NSObject

@property (nonatomic, strong) NSString  *RoomNo;
@property (nonatomic, strong) NSString  *RoomState;
@property (nonatomic, strong) NSString  *RoomFlag;
@property (nonatomic, strong) NSString  *Room_IfBad;
@property (nonatomic, strong) NSString  *ReserveClerk;
@property (nonatomic, strong) NSString  *GongGuanLeaderName;
@property (nonatomic, strong) NSString  *GuestName;
@property (nonatomic, strong) NSString  *GuestCount;
@property (nonatomic, strong) NSString  *VipFlag;
@property (nonatomic, strong) NSString  *GongGuanCount;
@property (nonatomic, strong) NSString  *ReserveDateTime;
@property (nonatomic, strong) NSString  *ArriveDateTime;
@property (nonatomic, strong) NSString  *CheckInDateTime;
@property (nonatomic, strong) NSString  *LowLimitMoney;
@property (nonatomic, strong) NSString  *FoodMoney;
@property (nonatomic, strong) NSString  *OverLowLimitMoney;
@property (nonatomic, strong) NSString  *MasterID;
@property (nonatomic, strong) NSString  *CheckOutDateTime;
@property (nonatomic, strong) NSString  *FreeMoney;
@property (nonatomic, strong) NSString  *DisRate;
@property (nonatomic, strong) NSString  *DisMoney;
@property (nonatomic, strong) NSString  *RoomMoney;
@property (nonatomic, strong) NSString  *DinnerMoney;
@property (nonatomic, strong) NSString  *FanFangRen;
@property (nonatomic, strong) NSString  *FanFangRenFenLei;
@property (nonatomic, strong) NSString  *MT_PreSettleFlag;
@property (nonatomic, strong) NSString  *Retain4;
@property (nonatomic, strong) NSString  *Retain5;
@property (nonatomic, strong) NSString  *Retain6;
@property (nonatomic, strong) NSString  *Retain7;
@property (nonatomic, strong) NSString  *Retain8;
@property (nonatomic, strong) NSString  *Retain9;
@property (nonatomic, strong) NSString  *Retain10;
@property (nonatomic, strong) NSString  *Retain11;
@property (nonatomic, strong) NSString  *Retain12;
@property (nonatomic, strong) NSString  *Retain13;
@property (nonatomic, strong) NSString  *Retain14;
@property (nonatomic, strong) NSString  *Retain15;
@property (nonatomic, readonly) UIColor *color;
@property (nonatomic, strong) NSString  *StateTitle;

@property (nonatomic, assign) Room_State room_State;


@end
